package musicstore.biz.impl;

import musicstore.biz.ShoppingCartBiz;
import musicstore.dao.ShoppingCartDao;
import musicstore.entity.ShoppingCart;

public class ShoppingCartBizImpl implements ShoppingCartBiz{

	private ShoppingCartDao shoppingCartDao;
	public void setShoppingCartDao(ShoppingCartDao shoppingCartDao) {
		this.shoppingCartDao = shoppingCartDao;
	}

	@Override
	public void addItemToCart(ShoppingCart cart, int albumId) {
		shoppingCartDao.addItemToCart(cart, albumId);
	}

	@Override
	public void removeItemToCart(ShoppingCart cart, int albumId) {
		shoppingCartDao.removeItemToCart(cart, albumId);
	}

}
